package com.luchao.ptz.repository;

import com.luchao.ptz.pojo.ZblogTag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface ZblogTagRepository extends JpaRepository<ZblogTag, Long> {

    @Query(value = "SELECT * FROM nzbp_tag", nativeQuery = true)
    List<ZblogTag> getAll();

}
